package ebj.common.multithread;

public class MTClient {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        Thread t1 = new Thread(myThread, "线程A--");
        Thread t2 = new Thread(myThread, "线程B--");
        Thread t3 = new Thread(myThread, "线程C--");
        
        t1.setPriority(1);
        t2.setPriority(2);
        t3.setPriority(3);
        
        t1.start();
        t2.start();
        t3.start();
    }
}
